package de.cau.apo.problems;

import java.io.FileNotFoundException;

/**
 * The interface for the instances of any optimization problems.
 * 
 * @author Marius Richter
 *
 */
public interface IInstance {

	/**
	 * Parse the required data for this instance from the given instance file.
	 * @param instancePath the path to the instance file
	 * @return true on success and false when a failure occurs.
	 * @throws FileNotFoundException if the path is not existing
	 */
    public boolean parseInstance(String instancePath) throws FileNotFoundException;
    
}
